package com.alander.nexusgo.user.model.entity;

import com.alander.nexusgo.framework.mysql.starter.model.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 用户关注关系表
 * @TableName user_follows
 */
@TableName(value ="user_follows")
@Data
public class UserFollows extends BaseEntity {
    /**
     * 主键ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 关注者ID
     */
    private Long followerId;

    /**
     * 被关注者ID
     */
    private Long followedId;

    /**
     * 关注时间
     */
    private Date followTime;

    /**
     * 状态:0-已取消,1-关注中
     */
    private String status;
}